package com.dingxin.ship_together_api.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * Author: ctj
 * Date: 2022-09-15
 * Time: 10:12
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageQueryVo {

    private Integer pageSize=10;

    private Integer currPage=1;

    private String currUserRole;

    /**
     * 根据spuId查询sku列表时使用
     */
    private Long spuId;

    /**
     * 根据出船日期筛选spu
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date startDate;

    /**
     * 订单状态筛选条件
     */
    private Integer OrderStatus;

}
